-
Home
-
Matomo Analytics – Ethical Stats. Powerful Insights.
-
5.1.5
-
Code
-
Classes
- Range
| Total Complexity |
89 |
| Dependencies |
9 |
| Dependents |
26 |
| Total lines |
453 |
| Lines of code |
279 |
| Logical lines of code |
185 |
| Comment lines |
122 |
| Methods |
28 |
| Properties |
7 |
Methods 28
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| processOptimalSubperiods() |
B |
43 |
25 |
38 |
| generate() |
A |
40 |
14 |
61 |
| getDateXPeriodsAgo() |
A |
48 |
9 |
32 |
| getMaxN() |
S |
58 |
5 |
17 |
| fillArraySubPeriods() |
S |
59 |
3 |
15 |
| loadAllFromCache() |
S |
67 |
3 |
8 |
| isEndOfWeekLaterThanEndDate() |
S |
69 |
3 |
6 |
| getRelativeToEndDate() |
S |
60 |
2 |
12 |
| __construct() |
S |
62 |
2 |
11 |
| getCacheId() |
S |
66 |
2 |
8 |
| getDateStart() |
S |
69 |
2 |
7 |
| parseDateRange() |
S |
68 |
2 |
7 |
| getDateEnd() |
S |
71 |
2 |
6 |
| __sleep() |
S |
78 |
1 |
3 |
| __wakeup() |
S |
80 |
1 |
3 |
| getCache() |
S |
81 |
1 |
3 |
| cacheAll() |
S |
75 |
1 |
4 |
| getLocalizedShortString() |
S |
80 |
1 |
3 |
| getLocalizedLongString() |
S |
80 |
1 |
3 |
| getPrettyString() |
S |
75 |
1 |
4 |
| setDefaultEndDate() |
S |
81 |
1 |
3 |
| getLastDate() |
S |
78 |
1 |
3 |
| getDayCount() |
S |
78 |
1 |
3 |
| getNumDaysDifference() |
S |
73 |
1 |
4 |
| getRangeString() |
S |
72 |
1 |
5 |
| getImmediateChildPeriodLabel() |
S |
76 |
1 |
4 |
| getParentPeriodLabel() |
S |
82 |
1 |
3 |
| getMaxAllowedEndTimestamp() |
S |
78 |
1 |
3 |